<?php
/*********************** Easy-D ****************************
 @ 文件名称：api.php
 @ 文件名称：接口配置文件                
 @ 文件作用：用户声明接口信息，声明后可进行接口相应的实现开发
 @ 维护人员：weixuan                                      
 ***********************************************************/

return array(
    	//新建文章栏目
	'/cms_column/add' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_column',
		'autoType'  => 'C',
		
		'postMustParams' => array(
			'cc_name | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//删除文章栏目
	'/cms_column/delete' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_column',
		'autoType'  => 'D',
		
		'postMustParams' => array(
			'delete_where | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//更新文章栏目
	'/cms_column/update' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_column',
		'autoType'  => 'U',
		
		'postMustParams' => array(
			'update_where | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//查询文章栏目
	'/cms_column/search' => array(
        'method' => 'ALL',
		'autoTable' => 'easyd_cms_column',
		'autoType'  => 'R',
		
    ),
	//新增文章
	'/cms_article/add' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_article',
		'autoType'  => 'C',
		
		'postMustParams' => array(
			'ca_title | NOEMPTY',
			'ca_ccid | NUMBER'
		),
		'getMustParams' => array(
			)
    ),
	//删除文章
	'/cms_article/delete' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_article',
		'autoType'  => 'D',
		
		'postMustParams' => array(
			'delete_where | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//更新文章
	'/cms_article/update' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_article',
		'autoType'  => 'U',
		
		'postMustParams' => array(
			'update_where | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//查询文章
	'/cms_article/search' => array(
        'method' => 'ALL',
		'autoTable' => 'easyd_cms_article',
		'autoType'  => 'R',
		
    ),
	//新增文章评论
	'/cms_article_comment/add' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_article_comment',
		'autoType'  => 'C',
		
		'postMustParams' => array(
			'cac_caid | NUMBER',
			'cac_mid | NUMBER'
		),
		'getMustParams' => array(
			)
    ),
	//删除文章评论
	'/cms_article_comment/delete' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_article_comment',
		'autoType'  => 'D',
		
		'postMustParams' => array(
			'delete_where | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//更新文章评论
	'/cms_article_comment/update' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_article_comment',
		'autoType'  => 'U',
		
		'postMustParams' => array(
			'update_where | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//查询文章评论
	'/cms_article_comment/search' => array(
        'method' => 'ALL',
		'autoTable' => 'easyd_cms_article_comment',
		'autoType'  => 'R',
		
    ),
	//新增视频库类别
	'/cms_video_category/add' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_video_category',
		'autoType'  => 'C',
		
		'postMustParams' => array(
			'cvc_name | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//删除视频库类别
	'/cms_video_category/delete' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_video_category',
		'autoType'  => 'D',
		
		'postMustParams' => array(
			'delete_where | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//更新视频库类别
	'/cms_video_category/update' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_video_category',
		'autoType'  => 'U',
		
		'postMustParams' => array(
			'update_where | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//查询视频库类别
	'/cms_video_category/search' => array(
        'method' => 'ALL',
		'autoTable' => 'easyd_cms_video_category',
		'autoType'  => 'R',
		
    ),
	//新增视频
	'/cms_video_library/add' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_video_library',
		'autoType'  => 'C',
		
		'postMustParams' => array(
			'cvl_title | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//删除视频
	'/cms_video_library/delete' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_video_library',
		'autoType'  => 'D',
		
		'postMustParams' => array(
			'delete_where | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//更新视频
	'/cms_video_library/update' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_video_library',
		'autoType'  => 'U',
		
		'postMustParams' => array(
			'update_where | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//更新视频
	'/cms_video_library/search' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_video_library',
		'autoType'  => 'U',
		
    ),
	//新增图片库类别
	'/cms_image_category/add' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_image_category',
		'autoType'  => 'C',
		
		'postMustParams' => array(
			'cic_name | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//删除图片库类别
	'/cms_image_category/delete' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_image_category',
		'autoType'  => 'D',
		
		'postMustParams' => array(
			'delete_where | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//更新图片库类别
	'/cms_image_category/update' => array(
        'method' => 'GET',
		'autoTable' => 'easyd_cms_image_category',
		'autoType'  => 'U',
		
		'postMustParams' => array(
			'update_where | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//查询图片库类别
	'/cms_image_category/search' => array(
        'method' => 'ALL',
		'autoTable' => 'easyd_cms_image_category',
		'autoType'  => 'R',
		
    ),
	//新增图片
	'/cms_image_library/add' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_image_library',
		'autoType'  => 'C',
		
		'postMustParams' => array(
			'cil_title | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//删除图片
	'/cms_image_library/delete' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_image_library',
		'autoType'  => 'D',
		
		'postMustParams' => array(
			'delete_where | NOEMPTY'
		),
		'getMustParams' => array(
			)
    ),
	//更新图片
	'/cms_image_library/update' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_image_library',
		'autoType'  => 'U',
		
    ),
	//查询图片
	'/cms_image_library/search' => array(
        'method' => 'ALL',
		'autoTable' => 'easyd_cms_image_library',
		'autoType'  => 'R',
		
    ),
	//新增下载库类别
	'/cms_download_category/add' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_download_category',
		'autoType'  => 'C',
		
    ),
	//删除下载库类别
	'/cms_download_category/delete' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_download_category',
		'autoType'  => 'D',
		
    ),
	//更新下载库类别
	'/cms_download_category/update' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_download_category',
		'autoType'  => 'U',
		
    ),
	//查询下载库类别
	'/cms_download_category/search' => array(
        'method' => 'ALL',
		'autoTable' => 'easyd_cms_download_category',
		'autoType'  => 'R',
		
    ),
	//新增下载文件
	'/cms_download_library/add' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_download_library',
		'autoType'  => 'C',
		
    ),
	//删除下载文件
	'/cms_download_library/delete' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_download_library',
		'autoType'  => 'D',
		
    ),
	//更新下载文件
	'/cms_download_library/update' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_download_library',
		'autoType'  => 'U',
		
    ),
	//查询下载文件
	'/cms_download_library/search' => array(
        'method' => 'ALL',
		'autoTable' => 'easyd_cms_download_library',
		'autoType'  => 'R',
		
    ),
	//新增会员
	'/cms_member/add' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_member',
		'autoType'  => 'C',
		
    ),
	//删除会员
	'/cms_member/delete' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_member',
		'autoType'  => 'D',
		
    ),
	//更新会员
	'/cms_member/update' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_member',
		'autoType'  => 'U',
		
    ),
	//查询会员
	'/cms_member/search' => array(
        'method' => 'ALL',
		'autoTable' => 'easyd_cms_member',
		'autoType'  => 'R',
		
    ),
	//新增广告栏目
	'/cms_banner_column/add' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_banner_column',
		'autoType'  => 'C',
		
    ),
	//删除广告栏目
	'/cms_banner_column/delete' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_banner_column',
		'autoType'  => 'D',
		
    ),
	//更新广告栏目
	'/cms_banner_column/update' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_banner_column',
		'autoType'  => 'U',
		
    ),
	//查询广告栏目
	'/cms_banner_column/search' => array(
        'method' => 'ALL',
		'autoTable' => 'easyd_cms_banner_column',
		'autoType'  => 'R',
		
    ),
	//新增广告
	'/cms_banner/add' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_banner',
		'autoType'  => 'C',
		
    ),
	//删除广告
	'/cms_banner/delete' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_banner',
		'autoType'  => 'D',
		
    ),
	//更新广告
	'/cms_banner/update' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_banner',
		'autoType'  => 'U',
		
    ),
	//查询广告
	'/cms_banner/search' => array(
        'method' => 'ALL',
		'autoTable' => 'easyd_cms_banner',
		'autoType'  => 'R',
		
    ),
	//新增友情链接
	'/cms_link/add' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_link',
		'autoType'  => 'C',
		
    ),
	//删除友情链接
	'/cms_link/delete' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_link',
		'autoType'  => 'D',
		
    ),
	//更新友情链接
	'/cms_link/update' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_link',
		'autoType'  => 'U',
		
    ),
	//查询友情链接
	'/cms_link/search' => array(
        'method' => 'ALL',
		'autoTable' => 'easyd_cms_link',
		'autoType'  => 'R',
		
    ),
	//新增底部菜单
	'/cms_bottom_menu/add' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_bottom_menu',
		'autoType'  => 'C',
		
    ),
	//更新底部菜单
	'/cms_bottom_menu/update' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_bottom_menu',
		'autoType'  => 'U',
		
    ),
	//删除底部菜单
	'/cms_bottom_menu/delete' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_bottom_menu',
		'autoType'  => 'D',
		
    ),
	//查询底部菜单
	'/cms_bottom_menu/search' => array(
        'method' => 'ALL',
		'autoTable' => 'easyd_cms_bottom_menu',
		'autoType'  => 'R',
		
    ),
	//新增招聘信息
	'/cms_recruitment/add' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_recruitment',
		'autoType'  => 'C',
		
    ),
	//删除招聘信息
	'/cms_recruitment/delete' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_recruitment',
		'autoType'  => 'D',
		
    ),
	//更新招聘信息
	'/cms_recruitment/update' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_recruitment',
		'autoType'  => 'U',
		
    ),
	//查询招聘信息
	'/cms_recruitment/search' => array(
        'method' => 'ALL',
		'autoTable' => 'easyd_cms_recruitment',
		'autoType'  => 'R',
		
    ),
	//新增站点配置
	'/cms_site_config/add' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_site_config',
		'autoType'  => 'C',
		
    ),
	//删除站点配置
	'/cms_site_config/delete' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_site_config',
		'autoType'  => 'D',
		
    ),
	//更新站点配置
	'/cms_site_config/update' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_site_config',
		'autoType'  => 'U',
		
    ),
	//查询站点配置
	'/cms_site_config/search' => array(
        'method' => 'ALL',
		'autoTable' => 'easyd_cms_site_config',
		'autoType'  => 'R',
		
    ),
	//新增站点留言
	'/cms_leave_message/add' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_leave_message',
		'autoType'  => 'C',
		
    ),
	//删除站点留言
	'/cms_leave_message/delete' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_leave_message',
		'autoType'  => 'D',
		
    ),
	//更新站点留言
	'/cms_leave_message/update' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_leave_message',
		'autoType'  => 'U',
		
    ),
	//查询站点留言
	'/cms_leave_message/search' => array(
        'method' => 'ALL',
		'autoTable' => 'easyd_cms_leave_message',
		'autoType'  => 'R',
		
    ),
	//查询广告列表（带广告栏目信息）
	'/easyd_v_cms_banner_info/search' => array(
        'method' => 'ALL',
		'autoTable' => 'easyd_v_cms_banner_info',
		'autoType'  => 'R',
		
    ),
	//查询文章信息（带栏目和用户信息）
	'/easyd_v_cms_article_info/search' => array(
        'method' => 'ALL',
		'autoTable' => 'easyd_v_cms_article_info',
		'autoType'  => 'R',
		
    ),
	//查询文章评论（带评论用户信息）
	'/easyd_v_cms_article_comment_info/search' => array(
        'method' => 'ALL',
		'autoTable' => 'easyd_v_cms_article_comment_info',
		'autoType'  => 'R',
		
    ),
	//新增通知
	'/cms_notice/add' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_notice',
		'autoType'  => 'C',
		
    ),
	//删除通知
	'/cms_notice/delete' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_notice',
		'autoType'  => 'D',
		
    ),
	//更新通知
	'/cms_notice/update' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_notice',
		'autoType'  => 'U',
		
    ),
	//查询通知
	'/cms_notice/search' => array(
        'method' => 'ALL',
		'autoTable' => 'easyd_cms_notice',
		'autoType'  => 'R',
		
    ),
	//新增会员通知关系
	'/cms_member_notice/add' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_member_notice',
		'autoType'  => 'C',
		
    ),
	//删除通知会员关系
	'/cms_member_notice/delete' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_member_notice',
		'autoType'  => 'D',
		
    ),
	//查询通知会员关系
	'/cms_member_notice/search' => array(
        'method' => 'ALL',
		'autoTable' => 'easyd_cms_member_notice',
		'autoType'  => 'R',
		
    ),
	//更新通知会员关系
	'/cms_member_notice/update' => array(
        'method' => 'POST',
		'autoTable' => 'easyd_cms_member_notice',
		'autoType'  => 'U',
		
    ),

);